/**
 * 数据记录模态框显示状态port
 * (用于跨组件通信处理)
 */

import type { PlasmoMessaging } from "@plasmohq/messaging"

const handler: PlasmoMessaging.PortHandler = async (req, res) => {
  const { visible } = req.body
  res.send(visible)
}

export default handler
